package zhengze;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Demo {
    public static void main(String[] args) {
        String line = "http://localhost:8088/public/login";
        Pattern pattern = Pattern.compile(".*?//.*?/(.*)/");
        Matcher matcher = pattern.matcher(line);
        matcher.find();
            System.out.println(matcher.group(1));

    }
}
